package com.vhans.db.model.vo.agreement;

import com.vhans.core.web.model.vo.UserIntro;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 约起中心VO
 *
 * @author vhans
 */
@Data
@ApiModel(description = "约起中心VO")
public class AgreementCenterVO {
    /**
     * 约起id
     */
    @ApiModelProperty(value = "约起id")
    private Integer id;

    /**
     * 发起者简介
     */
    @ApiModelProperty(value = "发起者简介")
    private UserIntro userIntro;

    /**
     * 缩略图
     */
    @ApiModelProperty(value = "缩略图")
    private String cover;

    /**
     * 约起主题
     */
    @ApiModelProperty(value = "约起主题")
    private String title;

    /**
     * 约起主题
     */
    @ApiModelProperty(value = "约起内容")
    private String content;

    /**
     * 热度
     */
    @ApiModelProperty(value = "热度")
    private Integer viewCount;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime timeStart;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime timeEnd;

    /**
     * 上一篇约起
     */
    @ApiModelProperty(value = "上一篇约起")
    private AgreementPaginationVO lastAgreement;

    /**
     * 下一篇约起
     */
    @ApiModelProperty(value = "下一篇约起")
    private AgreementPaginationVO nextAgreement;
}
